package cn.lecosa.spark.es.entity;

import java.io.Serializable;

public class ImsiObj implements Serializable{
	private String f_imsi_id;
	private Double f_imsi_degree;
	
	
	public ImsiObj() {
		super();
	}
	public ImsiObj(String f_imsi_id, Double f_imsi_degree) {
		this.f_imsi_id = f_imsi_id;
		this.f_imsi_degree = f_imsi_degree;
	}
	public String getF_imsi_id() {
		return f_imsi_id;
	}
	public void setF_imsi_id(String f_imsi_id) {
		this.f_imsi_id = f_imsi_id;
	}
	public Double getF_imsi_degree() {
		return f_imsi_degree;
	}
	public void setF_imsi_degree(Double f_imsi_degree) {
		this.f_imsi_degree = f_imsi_degree;
	}
	
	
	@Override
	public boolean equals(Object arg0) {
		if(arg0 instanceof ImsiObj){
			ImsiObj o = (ImsiObj)arg0;
			if (o.getF_imsi_id().equals(this.getF_imsi_id()))
				return true;
		}
		return false;
	}
	

}
